Code
a = 1
b = a + 1This is the abstract
With multiple paragraphs
We set up variables in Listing 1.
a = 1
b = a + 1In this example: a = 1 and b = 2, or if you want to use math text: \(a = 1\) and \(b = 2\).
Math text can also be used for full equations:
\[ E = mc^2 \]
When you have finished reading this section, you can move onto the next section, which is called Section 2.
This is a callout.
There are five types: note, tip, warning, caution, and important.
We will now1 use the iris dataset2, a sample of which is shown in Table 1.
iris dataset.
| Sepal.Length | Sepal.Width | Petal.Length | Petal.Width | Species |
|---|---|---|---|---|
| 5.1 | 3.5 | 1.4 | 0.2 | setosa |
| 4.9 | 3.0 | 1.4 | 0.2 | setosa |
| 4.7 | 3.2 | 1.3 | 0.2 | setosa |
| 4.6 | 3.1 | 1.5 | 0.2 | setosa |
| 5.0 | 3.6 | 1.4 | 0.2 | setosa |
| 5.4 | 3.9 | 1.7 | 0.4 | setosa |
The full dataset is plotted in Figure 1, with distributions shown in Figure 2 (which includes subplots Figure 2 (a) and Figure 2 (b)).
iris |>
ggplot(aes(x = Sepal.Length, y = Sepal.Width)) +
geom_point()iris dataset.
iris |>
ggplot(aes(x = Sepal.Length)) +
geom_histogram(binwidth = 0.2)
iris |>
ggplot(aes(x = Sepal.Width)) +
geom_histogram(binwidth = 0.2)We have some references (Zelenka et al. 2024).
These are the acknowledgements, a link to the Jean Golding Institute and its logo, with a caption but no figure numbering:
And with figure numbering as Figure 3: